/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.embed.app;

import org.cshoo.tattoo.embed.api.dto.AuthorityResp;
import org.cshoo.tattoo.embed.domain.service.AuthoritySdkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 杨翼
 * @since 1.0
 */
@Service
public class AuthoritySdkAppService {

    @Resource
    private AuthoritySdkService authoritySdkService;

    /**
     * 加载系统内的接口列表
     *
     * @return 接口列表
     */
    public List<AuthorityResp> loadAuthorities() {
        return authoritySdkService.loadAuthorities();
    }
}